package com.imut.iot;

public class Student {
	private String name;
	private int age;
	
	
	public Student(String n,int a) {
		this.name = n;
		this.age = a;
	}
	
	public Student(int n) {
		this("Unknown",n);
	}
	
	
	public Student() {
		this(0);
	}
	
	
	public String getName() {
		return this.name;
	}
	
	public void setName(String n) {
		this.name = n;
	}
	
	public int getAge() {
		return this.age;
		
	}
	
	public void setAge(int a) {
		this.age = a;
	}
	
	
	public String toString() {
		
		return "The name is: " + this.name + " the age is: " + this.age;
		
	}
	
	

}
